"""
文件拷贝测试
"""
rf = open('C:/Users/范亚鑫/Desktop/20000000.xlsx', 'rb')
wf = open('C:/Users/范亚鑫/Desktop/40000000.xlsx', 'wb')

while True:
    line = rf.read(1024)
    if not line:
        break
    wf.write(line)

rf.close()
wf.close()
